<!DOCTYPE html>
<html>
<head>
  <meta name="color-scheme" content="light dark">
  <%= render "alchemy/pages/meta_data" %>
  <%= stylesheet_link_tag 'application' %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
  <%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
</head>
<body>
  <nav>
    <%= render_menu('main_menu') %>
  </nav>
  <%= yield %>
  <%= render "alchemy/edit_mode" %>

  <footer>
    <%= render_elements from_page: Alchemy::Page.find_by(page_layout: 'footer') %>
  </footer>
</body>
</html>
